package com.txt.service.impl;

import com.txt.annotion.Update;
import com.txt.service.UploadService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


@Service
@Update(value = "oss")
public class OSSUploadServiceImpl implements UploadService {
    @Override
    public String upload(MultipartFile file, String key) throws IOException {
        return "url";
    }
}
